* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

li {
    list-style: none;
}

#wrap {
    position: relative;
    width: 400px;
    height: 480px;
    border: 1px solid #888;
    margin: 50px auto;
    box-sizing: content-box;
}

#wrap .pic {
    width: 400px;
    height: 400px;
    overflow: hidden;
}

#wrap .pic img {
    width: 400px;
    height: 400px;
    border-bottom: 1px solid #888;
}

#wrap .zoom {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 150px;
    background-color: yellow;
    opacity: .3;
    border: 1px solid #888;
    cursor: move;
}

#wrap .list {
    display: flex;
    margin-top: 10px;
    justify-content: space-around;
}

.list li {
    cursor: pointer;
    width: 50px;
    height: 50px;
    border: 2px solid transparent;
}

.list .current {
    border: 2px solid red;
}

.list img {
    width: 100%;
    height: 100%;
    vertical-align: bottom;
}

.details {
    display: none;
    position: absolute;
    left: 420px;
    top: 0;
    width: 400px;
    height: 400px;
    background-image: url(./images/img10s.jpg);
    background-repeat: no-repeat;
    background-size: 200%;
    border: 1px solid #888;
}

#wrap .pic:hover .zoom,
#wrap .pic:hover+.details {
    display: block;
}